package com.googlecode.simplecrud.dao.dataobject;

import java.math.BigDecimal;
import java.util.Date;

import com.googlecode.simplecrud.annotations.Column;
import com.googlecode.simplecrud.annotations.Entity;

/**
 * Employee
 */
@Entity(name = "EMPLOYEE")
public class EmployeeObject
{

	/** sid */
	private static final long serialVersionUID = 9999289462746928L;

	/** represents EMPLOYEE.IDEMPLOYEE */
	@Column(name = "IDEMPLOYEE", primaryKey = true)
	private Integer employeeId;

	/** represents EMPLOYEE.SALARY */
	@Column(name = "SALARY")
	private BigDecimal salary;

	/** represents EMPLOYEE.BIRTHDATE */
	@Column(name = "BIRTHDATE")
	private Date birthDate;

	/** represents EMPLOYEE.SIN */
	@Column(name = "SIN")
	private Long sin;

	/** represents EMPLOYEE.EMPLOYEENAME */
	@Column(name = "EMPLOYEENAME")
	private String name;

	/**
	 * @return employeeId
	 */
	public Integer getEmployeeId()
	{
		return employeeId;
	}

	/**
	 * @param employeeId
	 *            - the employeeId to set
	 */
	public void setEmployeeId(Integer employeeId)
	{
		this.employeeId = employeeId;
	}

	/**
	 * @return salary
	 */
	public BigDecimal getSalary()
	{
		return salary;
	}

	/**
	 * @param salary
	 *            - the salary to set
	 */
	public void setSalary(BigDecimal salary)
	{
		this.salary = salary;
	}

	/**
	 * @return birthDate
	 */
	public Date getBirthDate()
	{
		return birthDate;
	}

	/**
	 * @param birthDate
	 *            - the birthDate to set
	 */
	public void setBirthDate(Date birthDate)
	{
		this.birthDate = birthDate;
	}

	/**
	 * @return sin
	 */
	public Long getSin()
	{
		return sin;
	}

	/**
	 * @param sin
	 *            - the sin to set
	 */
	public void setSin(Long sin)
	{
		this.sin = sin;
	}

	/**
	 * @return name
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @param name
	 *            - the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}

}
